
/* 加载效果样式表 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 31, 31, 0.36);
    z-index: 9999999;
    display: none;
}

.loading-container {
    background-color: white;
    border-radius: 8px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.spinner {
    width: 60px;
    height: 60px;
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    animation: spin-circle 1s linear infinite;
}

.spinner > div {
    background-color: #292961;
    border-radius: 20px;
    position: absolute;
}

.loading-text {
    position: absolute;
    bottom: 25%;
    font-weight: bold;
    color: #2c3e50;
    width: 100%;
    text-align: center;
    margin: 0;
}

.progress-bar {
    width: 80%;
    height: 6px;
    background: #ecf0f1;
    border-radius: 3px;
    margin: 10px auto 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes spin-circle {
    from { transform: translateX(-50%) rotate(360deg); }
    to { transform: translateX(-50%) rotate(0deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .loading-container {
        width: 250px;
        height: 130px;
        top: 30%;
    }
    
    .spinner {
        width: 50px;
        height: 50px;
    }
}

/* 主题变体 */
.loading-theme-dark .loading-container {
    background: #34495e;
}

.loading-theme-dark .loading-text {
    color: #ecf0f1;
}

.loading-theme-dark .spinner {
    border: 4px solid #2c3e50;
    border-top: 4px solid #3498db;
}
